using UnityEngine;
using System.Collections;

public class Switch : MonoBehaviour
{
	public GameObject Next;
	public KeyCode Key;
	
	void Update ()
	{
		if(Input.GetKeyDown(Key))
		{
			Next.SetActive(true);
			gameObject.SetActive(false);
		}
	}
}

